LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 08: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 08:47 AM.
 
Old 03-07-2017, 09:44 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,789
Blog Entries: 13

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
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, 02: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 04: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-18-2015 11:56 PM
[SOLVED] Do I use stickybit and how johnmccarthy Linux - Newbie 3 11-07-2011 08:25 AM
copy all the files in the directory based on the modification date SriniKlr Programming 4 01-26-2011 10:08 AM
Bash Script - adding file modification date to end of filenames in directory themonkman Programming 2 09-01-2009 11:45 PM
List/compare a directory's files' creation and modification dates LittleTrish Linux - Newbie 3 10-22-2007 02:38 PM

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

All times are GMT -5. The time now is 11:43 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
Open Source Consulting | Domain Registration