LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-14-2015, 07:47 AM   #1
axr0284
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 15

Rep: Reputation: 0
permission question between windows and linux


I have a samba share on linux that I am accessing from windows.
I use the rughooam username to access my share

I have a file with the following permission
-rwxrwxr--. 1 compiler compilepcaccess 276213 May 13 15:16 freqedgectrl.vhd

Running groups shows that rughooam belongs to the compilepcaccess group:
[rughooam@ROC-W7-JB3V942 sysgen]$ groups
rughooam compilepcaccess

I tried changing permissions from windows but whereas it will allow me to change permission for files that have user rughooam and group rughooam, it won't let me for user compiler with group compilepcaccess.

I am at a lost why samba would prevent user rughooam from modifying the permission of this file although it has group access.

Thanks for the help,
Amish
 
Old 05-14-2015, 03:17 PM   #2
Sindoris
LQ Newbie
 
Registered: Feb 2010
Location: Atlanta, Georgia
Distribution: CentOS, RedHat
Posts: 2

Rep: Reputation: 0
I could be wrong, but I believe you have to be the owner (or root) of the file to change permissions. Have you tried to change the permission of the file using the rughooam ID in bash (or your favorite shell)? If you made rughooam the owner and keep the group the same, you should be able to change the permissions using Samba.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux Script loses its executable permission in Windows aanand0 Linux - Newbie 6 01-05-2011 04:50 AM
Linux file/directory permission question cpthk General 11 09-04-2009 01:32 AM
apche permission problem after i mount windows share in linux niloshima Linux - Networking 1 12-20-2005 09:05 PM
Writing permission for windows and linux partitions jaakkop Slackware 3 07-25-2005 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:18 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