LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2017, 09:35 AM   #1
cz.steve
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Rep: Reputation: Disabled
Stickybit enabled Directory modification


Hi,

I enabled the stickybit for a folder on a samba share, so only the owner of the folder could delete its content, but the other users could access and modify the files. My problem is that all users can access the mentioned folder , but they can t modify the excels .xlsx files. For regular .txt files the stickybit rule works perfectly, users can modify, but can t delete the files.

Any insight what could be the problem ?

Last edited by cz.steve; 03-07-2017 at 09:47 AM.
 
Old 03-07-2017, 10:44 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,444
Blog Entries: 13

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
I'd look at the full ownership, group, and permissions for the xlsx vs. txt files and see if there is a difference.
 
Old 03-08-2017, 03:52 AM   #3
cz.steve
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
The permissions are set correctly as wide as possible 1777 on folder, and 777 on the documents (for testing purposes ). I m trying to force the sticky to restrict access to certain folders for non group members, and to prevent accidental file deletion , for which they need write access.

Could somebody reproduce this scenario to confirm the problem ? For .xlsx files.

Last edited by cz.steve; 03-08-2017 at 05:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash script modification: Allowing spaces in directory/file name searches aadams Programming 10 03-19-2015 12:56 AM
[SOLVED] Do I use stickybit and how johnmccarthy Linux - Newbie 3 11-07-2011 09:25 AM
copy all the files in the directory based on the modification date SriniKlr Programming 4 01-26-2011 11:08 AM
Bash Script - adding file modification date to end of filenames in directory themonkman Programming 2 09-02-2009 12:45 AM
List/compare a directory's files' creation and modification dates LittleTrish Linux - Newbie 3 10-22-2007 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration