Page 1 of 1

[Solved] changing the permissions of a web page to allow ed

PostPosted: May 2nd, '14, 23:44
by dwhite
I downloaded a web page with Filezilla I wanted to open it in libreoffice-write but I need to alter the ownership to allow it. This problem was caused by my use of another machine a 32-bt netbook. I think the problem is the ownership I was administrating the web-page from my laptop dwhite32 and my desktop is dwhite64 I need to make a group dwhite and all of the members can edit. the members being dwhite32 and dwhite64. Now I just need to try it. anyone think this will work it will only work for things that will happen it won't cure my current problem.

Re: changing the pemittonof a web page to allow editing

PostPosted: May 3rd, '14, 00:01
by Ken-Bergen
Did you mean "FileZilla"?
Are you trying to edit it as the same user that downloaded it?
"write" is as far as I know a Windows editor so please tell us what Linux editor you're using.

Re: changing the permissions of a web page to allow editing

PostPosted: May 3rd, '14, 17:22
by doktor5000
It would be helpful if you simply show the current permissions of the downloaded files via
Code: Select all
ls -al filename

Re: changing the permissions of a web page to allow editing

PostPosted: May 5th, '14, 14:07
by dwhite
otherwise I need to change the ownership of that directory and all the files in it. the chown command is the one I need

Re: [Solved]

PostPosted: May 5th, '14, 17:52
by doktor5000
How was this solved? Why did you remove the complete title of the thread?

Re: [Solved] changing the permissions of a web page to allo

PostPosted: May 6th, '14, 10:25
by dwhite
Simply because the title frame cut off that Title because it's so long, the frame isn't long enough. Why doesn't the frame length fit the title?

In answer to your question I found that I could change permission with 'chown' I modified Mark Sobell's example in his book 'A Practical guide to Linux' , and modified the ownership of the site from dwhite32 to dwhite64, but created a group called dwhite that both dwhite32 and dwhite64 are members. That last thing probably unnecessary but might stop things like this happening again

Strange everything I download has a ls -l like this, in fact that was how I thought it worked
Code: Select all
drwxr-xr-x 2 dwhite64 dwhite64 4096 Apr 17 20:44 Downloads/
but then some files you download cannot be edited

Re: [Solved] changing the permissions of a web page to allo

PostPosted: May 6th, '14, 17:12
by doktor5000
Maybe next time it would be a better idea if you show the ls -l output in the first place, and mention which users should get read/write access to what.
And not edit your initial post dozen times, that makes it really hard for others that read the thread to know what you have done or not.

Re: [Solved] changing the permissions of a web page to allo

PostPosted: May 6th, '14, 18:54
by dwhite
Yes, that would be the way to do it, but problem it took me that long to do it right.