'permission denied" inspite of right permission flags on network drive
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
chmod gives "operation not permitted"
the network drive is 91% used as per 'df'.
i have write permissions to /tmp.temporarily using this to work,and then doing a cp to my home folder.
but why does'nt a write work even if permissions are rwx
doing a
Code:
gzip -d InsightToolkit-4.2.0.tar.gz
gives 'operation not permitted' ,and a "InsightToolkit-4.2.0.tar" file of size 0 bytes is created.
Code:
[vija@localhost ~/Desktop]$ ls -l
total 38656
-rwxrwxrwx 1 vija xyz 11870068 May 17 01:22 CableSwig-ITK-3.2.0.tar.gz
-rwsrwsrwx 1 vija xyz 0 May 17 03:47 InsightToolkit-4.2.0.tar
-rwxrwxrwx 1 vija xyz 27625097 May 17 03:40 InsightToolkit-4.2.0.tar.gz
there is a 's' in place of 'x' in the failed gzip -d effort.should that be there?
E325: ATTENTION
Found a swap file by the name ".try.swp"
owned by: vija dated: Thu May 17 03:56:48 2007
[cannot be read]
While opening file "try"
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r try"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".try.swp"
to avoid this message.
"try" [New File]
Hit ENTER or type command to continue
this happens on creating any new files
but a 'touch' works:
Code:
touch test
-rwxrwxrwx 1 vija xyz 0 May 17 03:59 test
if the drive is not writable,why is the touch succeeding?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.