Re: A question on security

From: scott (svetter_at_ameritech.net)
Date: 11/03/05


Date: Thu, 03 Nov 2005 14:38:25 GMT

Roy Schestowitz wrote:
> __/ [scott] on Thursday 03 November 2005 13:48 \__
>
>
>> I have set up a directory off the root with sub-directories and files
>>all having a group set as webx. The permissions for all is also set as
>>775. My id is also set in yast as being a member of webx. When I change
>>into the directory and then the sub-directory and then edit a file, vi
>>tells me that I will be trying to change a read-only file. What am I
>>doing wrong?
>
>
>
> Note to self: 775 = rwxrwxr-x
>
> Have you made sure that the entire path to the file enables webx members to
> write?
>
> Let us assume:
>
> /home/user/path/file_you_want_to_vi
>
> Try:
>
> chmod 775 -R /home/user/path/
>
> or
>
> chmod 775 -R /home/user
>
> Also to consider:
>
> chown webx file_you_want_to_vi
>
> * Descend one level at the time, getting more distant from
> file_you_want_to_vi
>
> o Make sure group ownership is okay
>
> o Make sure permissions are sufficiently lenient.
>
> Hope it helps,
>
> Roy
>
   I've ensured that the base directory has the group ownership of webx
all the way to the file and the file does have the group ownership of
webx. The permissions are also set to 755. Still can't vi the file.
Don't want to change the ownership to webx as this would prevent the
owner of the file to loose control.



Relevant Pages

  • Re: A question on security
    ... > all having a group set as webx. ... Have you made sure that the entire path to the file enables webx members to ... o Make sure permissions are sufficiently lenient. ... Roy S. Schestowitz ...
    (alt.os.linux.suse)
  • A question on security
    ... I have set up a directory off the root with sub-directories and files ... all having a group set as webx. ... The permissions for all is also set as ... My id is also set in yast as being a member of webx. ...
    (alt.os.linux.suse)