change umask to 000 and permissions to 777 and then recheck...

umask 000 filename
chmod 777 filename


On Mon, Apr 20, 2009 at 11:17 AM, Alex Smith (K4RNT)
<shadowhun...@gmail.com> wrote:
> *Very* weird. I thought owner could change permissions even if he
> accidentally did that to himself...
>
> Hmmm. Guess it depends on the OS or the filesystem.
>
> You got me. Wish I could help you.
>
> On Mon, Apr 20, 2009 at 11:15 AM, Andrew Farnsworth <farn...@gmail.com>
> wrote:
>>
>> Hey everyone,
>>   We had a minor problem here at work and I thought I would bounce this
>> off the list.  By accident, a user changed permissions to 077 rather than
>> 777 on a temporary directory in /tmp giving the following results.
>>
>> d---rwxrwx 2 abc111 gabcd     4096 Apr 20 12:08 dstpatch
>>
>> Now that user cannot change the permissions, cannot delete the directory,
>> cannot read or write the directory.  As a member of the group "gabcd" and
>> since the world has rwx permissions on this directory, why can she not
>> change the permissions and / or access the directory at all?  I am a member
>> of the group and can create files in the directory or delete files out of
>> the directory but I cannot rename or delete the directory itself and cannot
>> change permissions on it.  Outside of the root user doing a chmod (and this
>> includes using sudo), is there any way to resolve this issue?
>>
>> Thanks,
>>
>> Andy
>>
>>
>
>
>
> --
> " ' With the first link, the chain is forged. The first speech censured, the
> first thought forbidden, the first freedom denied, chains us all
> irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and
> warning... The first time any man's freedom is trodden on we’re all
> damaged." - Picard, quoting Judge Aaron Satie
> - Alex Smith (K4RNT)
> - Nashville, Tennessee USA
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to