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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby dwhite » May 2nd, '14, 23:44

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.
Last edited by dwhite on May 6th, '14, 11:17, edited 10 times in total.
Now I've assembled a GA 320M-H AMD Chip and an ASUS Geforce GT 710
User avatar
dwhite
 
Posts: 276
Joined: Dec 8th, '11, 18:29
Location: Falmouth, Cornwall

Re: changing the pemittonof a web page to allow editing

Postby Ken-Bergen » May 3rd, '14, 00:01

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.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

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

Postby doktor5000 » May 3rd, '14, 17:22

It would be helpful if you simply show the current permissions of the downloaded files via
Code: Select all
ls -al filename
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby dwhite » May 5th, '14, 14:07

otherwise I need to change the ownership of that directory and all the files in it. the chown command is the one I need
Now I've assembled a GA 320M-H AMD Chip and an ASUS Geforce GT 710
User avatar
dwhite
 
Posts: 276
Joined: Dec 8th, '11, 18:29
Location: Falmouth, Cornwall

Re: [Solved]

Postby doktor5000 » May 5th, '14, 17:52

How was this solved? Why did you remove the complete title of the thread?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby dwhite » May 6th, '14, 10:25

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
Now I've assembled a GA 320M-H AMD Chip and an ASUS Geforce GT 710
User avatar
dwhite
 
Posts: 276
Joined: Dec 8th, '11, 18:29
Location: Falmouth, Cornwall

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

Postby doktor5000 » May 6th, '14, 17:12

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby dwhite » May 6th, '14, 18:54

Yes, that would be the way to do it, but problem it took me that long to do it right.
Now I've assembled a GA 320M-H AMD Chip and an ASUS Geforce GT 710
User avatar
dwhite
 
Posts: 276
Joined: Dec 8th, '11, 18:29
Location: Falmouth, Cornwall


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest