You are not logged in.
Pages: 1
I used set permission on my important files inorder to keep then out of reach from general users. I set the permission in Fedora14 which I was using previously.
The content is very important as it contains the articles that I used to write for various magazines. However I was trying to remove the permission so that I can view the contents of the folder.
I removed the permission as root and when I tried to view them using nautilus it doesn't show them as folders/directories. I even tried setting "Open with nautilus but to no avail.
Check the image http://i.imgur.com/zGzu6.png
Here is the output of ls -l
As normal user (even if I am the owner and group owner
[shashwat@myhost ~]$ ls -l /media/hd3/Articles\ \&\ Reviews/
ls: cannot access /media/hd3/Articles & Reviews/Other Reviews⁄Tutorials: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Scans: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/LFY Suggestions: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Linux Magazine: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/LFY Artwork: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/LFY Reviews: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Screenshot.png: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/TE Review: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Query.odt: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Muktware: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/COU: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Misc Screenshots: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Linux Presentation: Permission denied
ls: cannot access /media/hd3/Articles & Reviews/Ubunutu User Magazine: Permission denied
total 0
?????????? ? ? ? ? ? COU
?????????? ? ? ? ? ? LFY Artwork
?????????? ? ? ? ? ? LFY Reviews
?????????? ? ? ? ? ? LFY Suggestions
?????????? ? ? ? ? ? Linux Magazine
?????????? ? ? ? ? ? Linux Presentation
?????????? ? ? ? ? ? Misc Screenshots
?????????? ? ? ? ? ? Muktware
?????????? ? ? ? ? ? Other Reviews⁄Tutorials
?????????? ? ? ? ? ? Query.odt
?????????? ? ? ? ? ? Scans
?????????? ? ? ? ? ? Screenshot.png
?????????? ? ? ? ? ? TE Review
?????????? ? ? ? ? ? Ubunutu User Magazine
[shashwat@myhost ~]$
As root
[root@myhost ~]# ls -l /media/hd3/Articles\ \&\ Reviews/
total 168
drwxrwxr-x 4 shashwat shashwat 48 Mar 20 12:24 COU
drwxrwxrwx 2 shashwat shashwat 4096 Mar 4 16:44 LFY Artwork
drwxrwxrwx 9 shashwat shashwat 4096 Jan 2 15:35 LFY Reviews
-rw-rw-rw- 1 shashwat shashwat 4197 Jan 29 2009 LFY Suggestions
drwxrwxrwx 8 shashwat shashwat 4096 Dec 31 23:01 Linux Magazine
drwxr-xr-x 2 shashwat shashwat 70 Apr 17 22:52 Linux Presentation
drwxrwxrwx 2 shashwat shashwat 6 Apr 15 19:30 Misc Screenshots
drwxrwxr-x 5 shashwat shashwat 54 Dec 24 10:52 Muktware
drwxrwxrwx 5 shashwat shashwat 4096 May 3 2010 Other Reviews⁄Tutorials
-rw-rw-rw- 1 shashwat shashwat 12816 Jan 18 2010 Query.odt
drwxrwxrwx 2 shashwat shashwat 133 Jan 23 2010 Scans
-rw-rw-rw- 1 shashwat shashwat 125522 Sep 9 2009 Screenshot.png
drwxr-xr-x 2 shashwat shashwat 4096 Jun 4 2010 TE Review
drwxr-xr-x 2 shashwat shashwat 28 May 17 06:04 Ubunutu User Magazine
[root@myhost ~]#
I even tried copying the contents to a different location but same result.
What to do ?
Regards
Last edited by Shashwat (2011-06-06 09:38:26)
Offline
What's the output of
lsattr
Also, do
chmod -R 755 *
on the directory.
Offline
[root@myhost ~]# lsattr /media/hd3/Articles\ \&\ Reviews/
--------------- /media/hd3/Articles & Reviews/Other Reviews⁄Tutorials
--------------- /media/hd3/Articles & Reviews/Scans
--------------- /media/hd3/Articles & Reviews/LFY Suggestions
--------------- /media/hd3/Articles & Reviews/Linux Magazine
--------------- /media/hd3/Articles & Reviews/LFY Artwork
--------------- /media/hd3/Articles & Reviews/LFY Reviews
--------------- /media/hd3/Articles & Reviews/Screenshot.png
--------------- /media/hd3/Articles & Reviews/TE Review
--------------- /media/hd3/Articles & Reviews/Query.odt
--------------- /media/hd3/Articles & Reviews/Muktware
--------------- /media/hd3/Articles & Reviews/COU
--------------- /media/hd3/Articles & Reviews/Misc Screenshots
--------------- /media/hd3/Articles & Reviews/Linux Presentation
--------------- /media/hd3/Articles & Reviews/Ubunutu User Magazine
No attributes ! Strange. Haven't used chattr much let me give that a try.
Edit : Wow chmod -R 755 worked . Strange chmod a+rwx didn't worked :?
Last edited by Shashwat (2011-06-06 09:37:29)
Offline
Pages: 1